LOCAL_PATH := $(call my-dir)
################################### /system/bin/bosecmd_sock ############################################
include $(CLEAR_VARS)
LOCAL_MODULE := bosecmd_sock
LOCAL_CFLAGS := -Werror
LOCAL_LDFLAGS += -Wl
LOCAL_CPPFLAGS := -Werror -Wextra -Wdate-time -Wfloat-equal -Wformat=2 
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES += bosecmd_server_socket.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SHARED_LIBRARIES := liblog libutils libcutils

LOCAL_INIT_RC := bosecmd_sock.rc
LOCAL_STATIC_LIBRARIES := libbose_cmd libbose_service_socket
#LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_EXECUTABLE)

################################### /system/bin/bosecmd ########################################
include $(CLEAR_VARS)
LOCAL_MODULE := bosecmd
LOCAL_CFLAGS := -Werror
LOCAL_LDFLAGS += -Wl
LOCAL_CPPFLAGS := -Werror -Wfloat-equal -Wformat=2

LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES += bosecmd_server_aidl.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)

LOCAL_SHARED_LIBRARIES :=liblog libutils libcutils \
                         libbinder
LOCAL_INIT_RC := bosecmd.rc
LOCAL_STATIC_LIBRARIES := libbose_cmd libbose_service_aidl
include $(BUILD_EXECUTABLE)

################################### /system/bin/tinyply ########################################
include $(CLEAR_VARS)
LOCAL_MODULE := tinyply
LOCAL_CFLAGS := -Werror
LOCAL_LDFLAGS += -Wl
LOCAL_CPPFLAGS := -Werror -Wfloat-equal -Wformat=2

LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES += bosecmd_tinyply.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)

LOCAL_SHARED_LIBRARIES :=liblog libutils libcutils \
                         libtinyalsa

LOCAL_STATIC_LIBRARIES +=

include $(BUILD_EXECUTABLE)
